﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace FrontEndPlus.Módulos.Catálogos_y_Mantenimientos
{
    public partial class wbfrm_Cambio_Servicios : System.Web.UI.Page
    {
        #region Variables

        private WCF_Gimnasio.cls_Servicio _servicio = new WCF_Gimnasio.cls_Servicio();
        private WCF_Gimnasio.ServiceClient _wcf = new WCF_Gimnasio.ServiceClient();

        #endregion

        #region Metodos



        #endregion

        #region Eventos

        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                if (!IsPostBack)
                {
                    _servicio = (WCF_Gimnasio.cls_Servicio)CargarPagina.SeleccionarObjeto("Servicio");
                    if (_servicio == null ? false : true)
                    {

                    }
                }
            }
            catch (Exception ex)
            {
                string script = @"<script type='text/javascript'> smoke.alert('" + ex.Message + "', function (e) {}, {ok: 'OK',classname: 'custom-class'}); </script>";
                ScriptManager.RegisterStartupScript(this, typeof(Page), "alerta", script, false);
            }
        }

        #endregion
    }
}